﻿using Contracts;
using Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    [Table("Customers")]
    public class CustomerEntity: IEntity
    {
        public int Id { get; set; }

        [Required, StringLength(200)]
        public string FullName { get; set; }

        [Required, DefaultValue(Loyalty.Level.None)]
        public Loyalty.Level LoyaltyLevel { get; set; }
    }
}
